@datapos/datapos-development 0.3.415 → 0.3.417

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5523,15 +5523,15 @@ async function Ar(t) {
5523
5523
  await mt(e, "../", ".editorconfig"), await mt(e, "../", ".gitattributes"), await (t.isPublish ? mt(e, "../", ".gitignore_published", ".gitignore2") : mt(e, "../", ".gitignore_unpublished", ".gitignore2")), await mt(e, "../", ".markdownlint.json"), await mt(e, "../", "LICENSE"), await mt(e, "../", "tsconfig.json", "tsconfig2.json"), t.typeId === "eslint" || (await mt(e, "../", "eslint.config.ts", "eslint.config2.ts"), await mt(e, "../", "vite.config.ts", "vite.config2.ts"), await mt(e, "../", "vitest.config.ts", "vitest.config2.ts"));
5524
5524
  }
5525
5525
  async function mt(t, e, s, a) {
5526
- const h = qt.resolve(t, `${e}${s}`), l = await Et(h), d = qt.resolve(process.cwd(), s), v = qt.resolve(process.cwd(), a ?? s);
5526
+ const h = qt.resolve(t, `${e}${s}`), l = await Et(h), d = qt.resolve(process.cwd(), s.split("_")[0] ?? s), v = qt.resolve(process.cwd(), a ?? s);
5527
5527
  let g;
5528
5528
  try {
5529
5529
  g = await Et(d);
5530
5530
  } catch (o) {
5531
5531
  if (o.code !== "ENOENT") throw o;
5532
5532
  }
5533
- if (g === l) {
5534
- console.log(1111, g), console.log(2222, l), console.info(`ℹ️ File '${s}' is already up to date.`);
5533
+ if (console.log(1111, g), console.log(2222, l), g === l) {
5534
+ console.info(`ℹ️ File '${s}' is already up to date.`);
5535
5535
  return;
5536
5536
  }
5537
5537
  await Wt(v, l), console.info(`ℹ️ File '${s}' synchronised.`);